﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DTO;
using DAO;
using System.Data;
using System.Data.SqlClient;
using System.Windows.Forms;
using System.Security.Cryptography;


namespace BUS
{
    public class DangNhapBUS
    {
        private DangNhapDTO dnDTO = new DangNhapDTO();
        private DangNhapDAO dnDAO = new DangNhapDAO();


        public DangNhapDTO LayThongTinUser(string username)
        {
            return dnDAO.LayThongTinUser(username);
        }

       
        public void doipass(DangNhapDTO dnDTO)
        {
             dnDAO.doipass(dnDTO);  
        }
    }
}
